package com.langsheng.lsintell.data;

import java.util.List;

/**
 * Created by xuwei on 2017/3/15.
 */

public class LSShopListRes {

    /**
     * head : {"version":"1.0","method":"nMethod","errcode":"nErrCode","ts":1480586948459}
     * data : {"longitude":"120.100868","latitude":"30.286678"}
     * records : {"a":[{"s1":"strID","s2":"strName","s3":"strAddress","s4":"strDesc","s5":"strPhone","s6":"strLongitude","s7":"strLatitude","s8":"nCreateDate"}]}
     */

    private HeadBean head;
    private DataBean data;
    private RecordsBean records;

    public HeadBean getHead() {
        return head;
    }

    public void setHead(HeadBean head) {
        this.head = head;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public RecordsBean getRecords() {
        return records;
    }

    public void setRecords(RecordsBean records) {
        this.records = records;
    }

    public static class HeadBean {
        /**
         * version : 1.0
         * method : nMethod
         * errcode : nErrCode
         * ts : 1480586948459
         */

        private String version;
        private String method;
        private String errcode;
        private long ts;

        public String getVersion() {
            return version;
        }

        public void setVersion(String version) {
            this.version = version;
        }

        public String getMethod() {
            return method;
        }

        public void setMethod(String method) {
            this.method = method;
        }

        public String getErrcode() {
            return errcode;
        }

        public void setErrcode(String errcode) {
            this.errcode = errcode;
        }

        public long getTs() {
            return ts;
        }

        public void setTs(long ts) {
            this.ts = ts;
        }
    }

    public static class DataBean {
        /**
         * longitude : 120.100868
         * latitude : 30.286678
         */

        private String longitude;
        private String latitude;

        public String getLongitude() {
            return longitude;
        }

        public void setLongitude(String longitude) {
            this.longitude = longitude;
        }

        public String getLatitude() {
            return latitude;
        }

        public void setLatitude(String latitude) {
            this.latitude = latitude;
        }
    }

    public static class RecordsBean {
        private List<ABean> a;

        public List<ABean> getA() {
            return a;
        }

        public void setA(List<ABean> a) {
            this.a = a;
        }

        public static class ABean {
            /**
             * s1 : agentid
             * s2 : name
             * s3 : address
             * s4 : desc
             * s5 : phone
             * s6 : longitude
             * s7 : latitude
             * s8 : createdate
             */

            /**
             * agentid:经销商ID
             * name:商铺名称
             * address:地址
             * desc:介绍
             * phone:电话
             * longitude:经度
             * latitude:纬度
             * createdate:创建时间戳，微秒级
             */

            private String s1;
            private String s2;
            private String s3;
            private String s4;
            private String s5;
            private String s6;
            private String s7;
            private String s8;

            public String getS1() {
                return s1;
            }

            public void setS1(String s1) {
                this.s1 = s1;
            }

            public String getS2() {
                return s2;
            }

            public void setS2(String s2) {
                this.s2 = s2;
            }

            public String getS3() {
                return s3;
            }

            public void setS3(String s3) {
                this.s3 = s3;
            }

            public String getS4() {
                return s4;
            }

            public void setS4(String s4) {
                this.s4 = s4;
            }

            public String getS5() {
                return s5;
            }

            public void setS5(String s5) {
                this.s5 = s5;
            }

            public String getS6() {
                return s6;
            }

            public void setS6(String s6) {
                this.s6 = s6;
            }

            public String getS7() {
                return s7;
            }

            public void setS7(String s7) {
                this.s7 = s7;
            }

            public String getS8() {
                return s8;
            }

            public void setS8(String s8) {
                this.s8 = s8;
            }
        }
    }
}
